home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2005 May / CyberMycha 05-2005 (Poland).bin / Immortal / cotndemo.exe / Data1.cab / generic_death.tai < prev    next >
Encoding:
Text File  |  2004-11-16  |  390 b   |  32 lines

  1. //
  2. //    Generic Death AI file
  3. //
  4. //    Behaviors:
  5. //
  6. //        Handles dying and rotting away.
  7. //
  8. //    Notes:
  9. //
  10. //    Common modifications:
  11. //
  12. //    Known Problems:
  13. //
  14. //    Usage:
  15. //
  16.  
  17. // are we dying (hitpoints == 0)
  18. Dying
  19. {
  20.     DyingAnimationFinished true(ResourcesRotting)
  21. }
  22.  
  23. ResourcesRotting
  24. {
  25.     ResourcesRottedAway true(UnitRotting)
  26. }
  27.  
  28. UnitRotting
  29. {
  30.     UnitRottedAway true(Dead)
  31. }
  32.